# List of regular expressions to prevent secrets
# being pushed to repository.
# This list is checked only if project.push_rule.prevent_secrets is true
# Any changes to this file should be documented in: doc/user/project/repository/push_rules.md

# AWS CLI credential blobs

- aws\/credentials$

# RSA, DSA, ECSDA, ED25519, ECDSA_SK, ED25519_SK SSH keys

- (ssh|config)\/(personal|server)_(rsa|dsa|ed25519|ecdsa|ecdsa_sk|ed25519_sk)
- id_rsa$
- id_dsa$
- id_ed25519$
- id_ecdsa$
- id_ecdsa_sk$
- id_ed25519_sk$

# privatekey.pem and secret.key

- \.(pem|key)$

# files ending in .history or _history
- "[._]history$"
